﻿#pragma once
#include "datatransfer.h"
#include "utility.h"
#include "PropellerHobbs.h"
#include "yaw.h"
#include <graphics.h>
#include <direct.h>
#include <iostream>
#include <AttitudeIndicator.h>


// 窗口数据结构体
struct WindowParams {
    int width = 0;
    int height = 0;
    float base_width = 0;
    float base_height = 0;
};
extern WindowParams params;

void initMainView();
void drawMainView();
void drawDrone(float x0, float y0, float BackScale);
void closeMainView();
void printData();